withActive

Applies modifications to the current active supplier of this builder. This can be used to "AND" or "OR" a previous supplier, for example.

The active supplier defines when a context action is applicable. For example, if a context action empties or clears an object, it should only be active when that object is in a non-empty state.

Author

fzzyhmstrs

Since

0.6.0

Parameters

operator

UnaryOperator<Supplier> applies changes to the current supplier and returns the modified supplier.

See also